import request from "@/config/request";

export const AIEval = (param) => {
  return request({
    url: "/AI_eval",
    method: "GET",
    params: param,
    headers: {
      "Content-Type": "application/json", // 确保后端可以解析 JSON 数据
    },
  });
};

export const AIEvalResult = (param) => {
  return request({
    url: "/AI_eval_result",
    method: "GET",
    params: param,
    headers: {
      "Content-Type": "application/json", // 确保后端可以解析 JSON 数据
    },
  });
};

export const singleSMEval = (param) => {
  return request({
    url: "/single_SM_eval",
    method: "GET",
    params: param,
    headers: {
      "Content-Type": "application/json", // 确保后端可以解析 JSON 数据
    },
  });
};

export const singleSMEvalRsult = (param) => {
  return request({
    url: "/single_SM_eval_result",
    method: "GET",
    params: param,
    headers: {
      "Content-Type": "application/json", // 确保后端可以解析 JSON 数据
    },
  });
};

export const singleSMEvalEval = (param) => {
  return request({
    url: "/single_SM_state_eval",
    method: "GET",
    params: param,
    headers: {
      "Content-Type": "application/json", // 确保后端可以解析 JSON 数据
    },
  });
};
